/**
 * Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
 * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://opensource.org/licenses/MIT
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */

@import '../../css/variable.css';
@import '../../css/mixins/clearfix.css';

.biz-image-library-sideslider {
    .biz-log-box {
        margin: 19px 55px;
    }

    .item-wrapper {
        &+.item-wrapper {
            margin-top: 23px;
        }

        li {
            font-size: 14px;
            line-height: 28px;
        }

        li.label {
            font-weight: 700;
            color: #52525d;
            list-style-type: disc;
        }

        li.desc {
            color: #737987;
            position: relative;
        }

        .code {
            background-color: #333948;
            border-radius: 2px;
            color: #fff;
            width: 544px;
            height: 74px;
            padding: 10px 19px;
            margin-top: 8px;
        }

        .copy-btn {
            position: absolute;
            top: 36px;
            font-size: 20px;
            right: 170px;
            cursor: pointer;
            color: #fff;
            visibility: hidden;
        }

        .tip {
            margin-top: 8px;
        }
    }
}

.biz-image-library-title {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    margin-left: 20px;
}

.biz-image-library-query {
    .left {
        .biz-search-input {
            width: 240px;

            .biz-search-btn {
                .icon-search-li {
                    color: #c3cdd7;
                }
            }
        }

        .bk-form-input {
            padding-right: 35px;
        }
    }

    .right {
        margin-top: 5px;

        .biz-search-input {
            width: 400px;
        }

        a.bk-text-button {
            font-size: 14px;
        }
    }
}

.biz-panel-header {
    .right {
        .biz-search-input {
            input {
                padding-right: 30px;
            }
        }
    }
}

.biz-image-library-list {
    margin-left: 20px;
    margin-top: 8px;
    margin-right: 20px;
    position: relative;

    .empty {
        background-color: #fff;
        padding: 75px 30px;
        border-radius: 2px;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .loading {
        background-color: transparent;
        padding: 150px 30px;
        border-radius: 4px;
        text-align: center;
    }

    .list-item {
        @mixin clearfix;
        width: 100%;
        display: inline-block;
        border-radius: 2px;
        border: 1px solid $borderColor;
        background-color: #fff;
        margin-bottom: 7px;

        &:hover {
            border: 1px solid #3c96ff;
        }

        .left-wrapper {
            position: relative;
            float: left;
            width: 100px;
            height: 100%;
            margin-right: -100px;
            border-right: 1px solid #ebf0f5;
            padding: 25px;

            .logo {
                width: 48px;
                height: 48px;
                vertical-align: middle;
            }
        }

        .right-wrapper {
            @mixin clearfix;
            float: right;
            width: 100%;
            height: 100%;

            .content {
                position: relative;
                margin-left: 100px;
                height: 100%;

                padding-left: 25px;

                .info {
                    padding: 17px 0;
                    font-size: 12px;
                    padding-right: 260px;
                }

                .title {
                    font-size: 14px;
                    margin-bottom: 6px;
                    position: relative;

                    span {
                        font-weight: 700;
                    }

                    i {
                        cursor: pointer;
                        margin-left: 5px;
                        display: inline-block;
                        top: 1px;

                        &.icon-star-shape {
                            color: #ffb400;
                        }

                        &.icon-star {
                            color: #c4ced8;
                        }
                    }
                }

                .attr {
                    margin-bottom: 4px;
                    color: #c3cdd7;

                    span {
                        margin-right: 35px;
                    }
                }

                .detail {
                    position: absolute;
                    transform: translate(0, -50%);
                    top: 50%;
                    font-size: 14px;
                    right: 50px;
                    color: #0082ff;
                    cursor: pointer;

                    i {
                        border: 1px solid #0082ff;
                        border-radius: 50%;
                        padding: 4px;
                        transform: scale(.6, .6);
                        position: absolute;
                        font-weight: 700;
                        top: -2px;
                        right: -23px;
                    }
                }
            }
        }
    }
}

.mc-operate-audit-table {
    i.bk-icon {
        font-size: 16px;
        vertical-align: middle;
        position: relative;
        top: -1px;
        margin-right: 7px;

        &.success {
            color: $iconSuccessColor;
        }

        &.fail {
            color: $iconFailColor;
        }
    }
}

.biz-actions {
    position: absolute;
    right: 20px;
    top: 19px;
}
